package backend

import fileviewplugin "gitee.com/liuxyz/file-view-plugin"

// @Controller
type BuildInController struct {
	Plugins []fileviewplugin.PluginInfo
}

// @Ignore
func (b *BuildInController) SetPluginInfo(plugins []fileviewplugin.PluginInfo) {
	b.Plugins = plugins
}

func (b *BuildInController) ListPlugins() (plugins []fileviewplugin.PluginInfo) {
	return b.Plugins
}
